<select>
    <?php
    foreach ($this->allproducts as $loop) {
        echo "<option>";
        print_r($loop['product_name']);
        echo "</option>";
    } ?>
</select>
